getOrFail

inline fun Parameters.getOrFail(name: String): String

Get parameters value associated with this name or fail with MissingRequestParameterException

Throws

if no values associated with this name


inline fun <R : Any> Parameters.getOrFail(name: String): R

Get parameter value associated with this name converting to type R using DefaultConversionService or fail with MissingRequestParameterException

Throws

if no values associated with this name

when conversion from String to R fails